package com.dataseek.iot.product.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dataseek.iot.toolkit.mybatis.entity.BaseEntity;
import lombok.Data;

/**
 * @discription:
 * @author: Freya.Yan
 * @date: 2022/1/11
 */
@Data
@TableName(value = "tenant.pdt_function_relation")
public class PdtFuncRel extends BaseEntity {
    //主鍵id
    @TableId(value = "id")
    private Long id;
    @TableField(value = "pdt_code")
    private String pdtCode;
    @TableField(value = "func_code")
    private String funcCode;
    @TableField(value = "func_name")
    private String funcName;
    @TableField(value = "att_code")
    private String attCode;
    @TableField(exist=false)
    private String attName;
    @TableField(exist=false)
    private String attType;
    @TableField(exist=false)
    private String dataType;

}
